<script>
import { handleSubscript, initCart } from '@/utils/cart';
import { checkLoginStatus } from '@/utils/login';
import { initBrand } from '@/utils/brand';
export default {
	onLaunch: function () {
		initCart();
		initBrand();
		console.log('App Launch');
	},
	onShow: function () {
		console.log('App Show');
	},
	onHide: function () {
		console.log('App Hide');
	}
	// onUnload: function () {
	// 	console.log('APP unLoad');
	// }
};
</script>

<style lang="less">
/*每个页面公共css */
@import url('static/fonts/iconfont.css');

page,
.container,
#app {
	height: 100%;
	background-color: #f5f5f5;
}

view {
	box-sizing: border-box;
}

.sold-out-bgc {
	opacity: 0.5;
}

.sold-out-wrapper {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 30rpx;

	.sold-out {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		border-radius: 50%;
		color: #fff;
		font-weight: 500;

		.line {
			display: block;
			background-color: #fff;
			width: 100%;
			height: 2rpx;
		}
	}
}

// 弹出层
.popup {
	display: flex;
	flex-direction: column;
	z-index: 100;
}
</style>
